/*
 * @Author: ShengXD <1519256482@qq.com>
 * @Date: 2024-11-06 11:09:25
 * @LastEditors: ShengXD <1519256482@qq.com>
 * @LastEditTime: 2024-11-12 10:21:19
 * @FilePath: /zonmind-om/apps/app/src/preferences.ts
 * @Description: 
 */
import { defineOverridesPreferences } from '@vben/preferences';

/**
 * @description 项目配置文件
 * 只需要覆盖项目中的一部分配置，不需要的配置不用覆盖，会自动使用默认配置
 */
export const overridesPreferences = defineOverridesPreferences({
  // overrides
  app: {
    name: import.meta.env.VITE_APP_TITLE,
    accessMode: 'backend',
    layout: "sidebar-nav",
    authPageLayout: 'panel-right',
    locale: 'zh-CN',
    watermark: true,
  },
  shortcutKeys: {
    enable: false,
    globalLockScreen: false,
    globalLogout: false,
    globalSearch: false
  },
  theme: {
    mode: 'auto'
  },
  widget: {
    fullscreen: true,
    globalSearch: false,
    languageToggle: false,
    lockScreen: false,
    notification: true,
    refresh: true,
    sidebarToggle: true,
    themeToggle: false,
  },
  logo: {
    enable: true,
    source: '/logo.png'
  }
});
